package com.skateboard.reelviewtest

import android.animation.ObjectAnimator
import android.os.Bundle
import android.view.View
import android.widget.Toast
import androidx.appcompat.app.AppCompatActivity
import kotlinx.android.synthetic.main.activity_select.*

/**
 * -------------------------------------
 * 作者：腾超杰
 * -------------------------------------
 * 时间：2020/11/25 5:07 PM
 * -------------------------------------
 * 描述：
 * -------------------------------------
 * 备注：
 * -------------------------------------
 */
class SelectActivity : AppCompatActivity(){

    var isOpen = false

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)

        setContentView(R.layout.activity_select)

        sort_view?.setSortTabData(applicationContext.resources.getStringArray(R.array.gift_wall_sort_tabs))
        sort_view?.setOnTabItemClickListener { v,i->
            Toast.makeText(this,"$i",Toast.LENGTH_SHORT).show()
        }

    }

}